package com.text.demmongodb.mapper;

import com.text.demmongodb.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName UserMapper
 * @Author By wen
 * @Description
 * @Date 2023/10/30 15:13
 * @Version 1.0
 */
@Repository
public interface UserMapper {

    List<User> selectList();

    Integer updateUser(@Param("entity") User user);
}
